import { ensureTsReferences } from './utils/ensureTsReferences.ts'
import { runCheckFix } from './utils/runCommand.ts'

const fix = process.argv.includes('--fix')

ensureTsReferences({ fix })

if (fix) {
  await runCheckFix()
}
